<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
</head>
<body>
    <form action="<%=application.getContextPath()%>/addStudentServlet" method="get">
        名字：<input type="text" name="username" placeholder="请输入名字"><br/>
        年龄：<input type="text" name="age" placeholder="请输入年龄"><br/>
        成绩：<input type="text" name="score" placeholder="请输入成绩"><br/>
        <button type="submit">提交</button>
        <a href="<%=application.getContextPath()%>/index.jsp"><button type="button">取消</button></a>
    </form>

</body>
</html>